.class public Lcom/example/inshopbuy/InShopMerchantPictruesActivity;
.super Landroid/app/Activity;
.source "InShopMerchantPictruesActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/example/inshopbuy/InShopMerchantPictruesActivity$MyAdapter;
    }
.end annotation


# instance fields
.field private adapter:Lcom/example/inshopbuy/InShopMerchantPictruesActivity$MyAdapter;

.field private context:Landroid/content/Context;

.field private currntPositon:I

.field private h:Landroid/os/Handler;

.field private loader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field private m:Lmyapp/MyApp;

.field private params:Landroid/view/ViewGroup$LayoutParams;

.field private shopimgs:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lbean/Shopimg;",
            ">;"
        }
    .end annotation
.end field

.field private type:Landroid/widget/TextView;

.field private viewPager:Landroid/support/v4/view/ViewPager;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 39
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    .line 51
    const/4 v0, 0x0

    iput v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->currntPositon:I

    .line 39
    return-void
.end method

.method static synthetic access$0(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Ljava/util/List;
    .locals 1

    .prologue
    .line 50
    iget-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->shopimgs:Ljava/util/List;

    return-object v0
.end method

.method static synthetic access$1(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Landroid/content/Context;
    .locals 1

    .prologue
    .line 40
    iget-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->context:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$2(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Landroid/view/ViewGroup$LayoutParams;
    .locals 1

    .prologue
    .line 52
    iget-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->params:Landroid/view/ViewGroup$LayoutParams;

    return-object v0
.end method

.method static synthetic access$3(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Lcom/nostra13/universalimageloader/core/ImageLoader;
    .locals 1

    .prologue
    .line 42
    iget-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->loader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    return-object v0
.end method

.method static synthetic access$4(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Lmyapp/MyApp;
    .locals 1

    .prologue
    .line 41
    iget-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->m:Lmyapp/MyApp;

    return-object v0
.end method

.method static synthetic access$5(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Landroid/support/v4/view/ViewPager;
    .locals 1

    .prologue
    .line 47
    iget-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->viewPager:Landroid/support/v4/view/ViewPager;

    return-object v0
.end method

.method static synthetic access$6(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)Landroid/widget/TextView;
    .locals 1

    .prologue
    .line 46
    iget-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->type:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$7(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)I
    .locals 1

    .prologue
    .line 51
    iget v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->currntPositon:I

    return v0
.end method

.method private initData()V
    .locals 3

    .prologue
    const/4 v1, -0x1

    .line 127
    iput-object p0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->context:Landroid/content/Context;

    .line 128
    iget-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->context:Landroid/content/Context;

    invoke-virtual {v0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lmyapp/MyApp;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->m:Lmyapp/MyApp;

    .line 129
    iget-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v0}, Lmyapp/MyApp;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v0

    iput-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->loader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 130
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->shopimgs:Ljava/util/List;

    .line 131
    new-instance v0, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v0, v1, v1}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    iput-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->params:Landroid/view/ViewGroup$LayoutParams;

    .line 133
    invoke-virtual {p0}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "position"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I

    move-result v0

    iput v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->currntPositon:I

    .line 134
    invoke-virtual {p0}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Intent;->getExtras()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "shopimgs"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->shopimgs:Ljava/util/List;

    .line 137
    const-string v0, "currentpositon-----------"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->shopimgs:Ljava/util/List;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 139
    const-string v0, "shopimags----------"

    iget-object v1, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->shopimgs:Ljava/util/List;

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 142
    return-void
.end method

.method private initView()V
    .locals 1

    .prologue
    .line 121
    const v0, 0x7f0c030b

    invoke-virtual {p0, v0}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->type:Landroid/widget/TextView;

    .line 122
    const v0, 0x7f0c0069

    invoke-virtual {p0, v0}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/support/v4/view/ViewPager;

    iput-object v0, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->viewPager:Landroid/support/v4/view/ViewPager;

    .line 123
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 57
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 58
    const v1, 0x7f0300c2

    invoke-virtual {p0, v1}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->setContentView(I)V

    .line 59
    invoke-direct {p0}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->initData()V

    .line 60
    invoke-direct {p0}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->initView()V

    .line 62
    new-instance v1, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;

    invoke-direct {v1, p0}, Lcom/example/inshopbuy/InShopMerchantPictruesActivity$1;-><init>(Lcom/example/inshopbuy/InShopMerchantPictruesActivity;)V

    iput-object v1, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->h:Landroid/os/Handler;

    .line 112
    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    .line 113
    .local v0, "message":Landroid/os/Message;
    const/4 v1, 0x3

    iput v1, v0, Landroid/os/Message;->arg1:I

    .line 114
    iget-object v1, p0, Lcom/example/inshopbuy/InShopMerchantPictruesActivity;->h:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 117
    return-void
.end method
